package com.data.modules.health.service;

import com.data.modules.health.entity.HlContactsInfo;
import com.data.modules.health.entity.HlUserBed;
import com.data.modules.health.entity.HlUserHealth;
import com.data.modules.health.entity.HlUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.data.modules.health.vo.BdeDeviceReqVo;
import com.data.modules.health.vo.DedResVo;
import com.data.modules.smzh.vo.DeviceReqVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 老人档案信息
 * @Author: data-boot
 * @Date:   2023-07-17
 * @Version: V1.0
 */
public interface IHlUserService extends IService<HlUser> {


	/**
	 * 添加一对多
	 *
	 */
	public void saveMain(HlUser hlUser,List<HlContactsInfo> hlContactsInfoList,List<HlUserHealth> hlUserHealthList,List<HlUserBed> hlUserBedList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(HlUser hlUser,List<HlContactsInfo> hlContactsInfoList,List<HlUserHealth> hlUserHealthList,List<HlUserBed> hlUserBedList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	DedResVo queryBedDeviceSynInfo(BdeDeviceReqVo reqVo);
}
